SHORTCODE_ADDONS\Core\RestApi B

Total Complexity 78
Dependencies 1
Dependents 2
Total lines 583
Lines of code 466
Logical lines of code 287
Comment lines 55
Methods 22
Properties 0

Methods 22

Method Rating Maintainability Complexity Lines of code
activate_license()
A
42 13 51
post_elements_template_create()
A
43 8 47
post_addons_settings()
A
51 8 28
allowed_html()
S
38 2 92
import_json_template()
S
50 5 25
deactivate_license()
S
52 5 23
post_oxi_license()
S
53 5 23
api_action()
S
56 5 16
validate_post()
S
59 3 14
get_permissions_check()
S
61 3 12
post_elements_template_modal_data()
S
62 3 11
post_elements_template_style_data()
S
52 2 23
get_shortcode_export()
S
53 2 21
post_elements_template_modal_data_edit()
S
62 2 10
post_shortcode_delete()
S
63 2 10
post_elements_template_modal_data_delete()
S
66 2 8
post_elements_template_old_version()
S
67 2 7
post_elements_template_change_name()
S
63 2 10
post_elements_template_render_data()
S
58 1 14
send_file_headers()
S
67 1 8
get_get_template_data()
S
76 1 4
build_api()
S
65 1 9